<template>
  <div class="cont">
    <p>
      <productEditComponent ref="productEditComponent" />
    </p>
  </div>
</template>
<script>


import productEditComponent from '../../components/product/productEditComponent.vue'

export default {
  components: {
    productEditComponent
  },
  data () {
    return {
      activeName: 'second',
      type: this.$route.query.type
    }
  },
  methods: {
    add (...values) {
      let sum = 0
      console.log(values)
      for (var val of values) {
        sum += val
      }
      return sum
    },
    change (va) {
      console.log(va)
    },
    handleClick (tab, event) {
      console.log(tab, event)
    }
  }
}
</script>
 